Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
date_sunset
date_sunset
Returns the sunset time for a given date and location
Name:
date_sunset
Category:
Date and time
Programming Language:
php
One-line Description:
Returns the sunset time for the specified date and location.
Related
Practical Methods to Adjust the Time Difference Returned by date_sunset
5
How to calculate daytime duration in combination with date_sunset and date_sunrise functions?
7
How to adjust the time zone setting of the date_sunset function?
1
What Is the Data Format Returned by PHP’s date_sunset Function and How to Parse It Correctly?
7
Similar Functions
timezone_version_get
timezone_version_get
Gettheversionoftimez
date_create_immutable_from_format
date_create_immutable_from_format
DateTimeImmutable::c
date_create_immutable
date_create_immutable
DateTimeImmutable::_
gettimeofday
gettimeofday
Getthecurrenttime(mi
date_sunset
date_sunset
Returnsthesunsettime
time
time
ReturnthecurrentUnix
timezone_offset_get
timezone_offset_get
AliasforDateTimeZo
date_parse_from_format
date_parse_from_format
Getinformationabouta
Popular Articles
What Is the Data Format Returned by PHP’s date_sunset Function and How to Parse It Correctly?
How to calculate daytime duration in combination with date_sunset and date_sunrise functions?
Practical Methods to Adjust the Time Difference Returned by date_sunset
How to adjust the time zone setting of the date_sunset function?